#include "UnitParameter.h"
#include "Datas\UnitBattleParams.h"

namespace GamePlayScene
{
	BattleParameter::BattleParameter() :
		_hp(-1),
		_defense(-1),
		_attack(-1){
		int i = 0;
		i;
	}

	BattleParameter::BattleParameter(int id)
	{
		BattleParameterPtr ptr = UnitBattleParams::getInstance()->getParameter(id);

		_hp = ptr->_hp;
		_defense = ptr->_defense;
		_attack = ptr->_attack;
	}
};